package com.ruoyi.swla2.domain;


import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 数据库行信息类
 */
public class PgRowInfo implements Serializable {
    /**
     * 表类型
     */
    private Integer tableType;

    /**
     * 表名
     */
    private String tableName;

    private Long id;

    /**
     * 空间数据字段名
     */
    private String geom;

    /**
     * 旧geometry
     */
    private String oldGeom;

    /**
     * 修改行新数据
     */
    private Map<String, Object> newRow;

    /**
     * 表所有字段名称
     */
    private List<String> fields;

    public Integer getTableType() {
        return tableType;
    }

    public void setTableType(Integer tableType) {
        this.tableType = tableType;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getGeom() {
        return geom;
    }

    public void setGeom(String geom) {
        this.geom = geom;
    }

    public String getOldGeom() {
        return oldGeom;
    }

    public void setOldGeom(String oldGeom) {
        this.oldGeom = oldGeom;
    }

    public Map<String, Object> getNewRow() {
        return newRow;
    }

    public void setNewRow(Map<String, Object> newRow) {
        this.newRow = newRow;
    }

    public List<String> getFields() {
        return fields;
    }

    public void setFields(List<String> fields) {
        this.fields = fields;
    }
}
